package com.yjhb.android.sbz.activity;

import com.yjhb.android.sbz.R;
import com.yjhb.android.sbz.fragment.CustomerServiceFragment;
import com.jojo.android.zxlib.base.mvp.BasePresenter;

/**
 * 创建者 zx
 * 创建时间 2020/12/23 18:04
 */
public class CustomerServiceActivity extends BaseActivity {
    private final String TAG = "ChatActivity";

    private CustomerServiceFragment customerServiceFragment;
//    private ChatInfo chatInfo;

    @Override
    protected BasePresenter initPresenter() {
        return null;
    }

    @Override
    protected int getLayoutId() {
        return R.layout.chat_activity;
    }

//    @Override
//    protected int getStatusBarResource() {
//        return getResources().getColor(R.color.gray_c0);
//    }

    @Override
    protected boolean isImmerse() {
        return false;
    }

    @Override
    protected void initUI() {
//        chatInfo = (ChatInfo) getIntent().getSerializableExtra(Conf.KEY_CHAT);
        customerServiceFragment = new CustomerServiceFragment();
//        customerServiceFragment.setChatInfo(chatInfo);
        getSupportFragmentManager()
                .beginTransaction()
                .replace(R.id.content_layout, customerServiceFragment)
                .commit();
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void regEvent() {

    }
}
